package com.fortune.cat.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author zhaozeyang
 * @date 2019/4/24 22:27
 * @description
 */
@AllArgsConstructor
@Getter
public enum RateLimiterEnums {

    /**
     * 基于redis
     */
    REDIS_RATE_LIMITER(1, "redisRateLimiter"),
    /**
     * 基于local
     */
    LOCAL_RATE_LIMITER(2, "localRateLimiter"),;

    private Integer type;

    private String name;
}
